Export symbols needed by Android drivers
authorBen Hutchings <ben@decadent.org.uk>
Mon, 7 Sep 2020 01:51:53 +0000 (02:51 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 19 Sep 2021 08:49:04 +0000 (09:49 +0100)
commitf9b8aa21ed46bf1da541c6fa84c9b530159010ca
tree5f9e464df7181834158c55ca5d7b2f70d4391ee4
parentc4228c1e4f952cb780bb5a3a5895a02cd2c5c0a2
Export symbols needed by Android drivers

Bug-Debian: https://bugs.debian.org/901492

We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.

Export the currently un-exported symbols they depend on.

Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch
fs/file.c
kernel/fork.c
kernel/sched/core.c
kernel/task_work.c
mm/memory.c
mm/shmem.c
security/security.c